package com.huiyun.project.pay.client.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Map;

/**
 * @author tiger
 */
@Data
@Accessors(chain = true)
@ApiModel("通知响应对象")
public class NotifyResp implements Serializable {
    @ApiModelProperty("SUCCESS:成功,FAIL:失败")
    private String code;
    @ApiModelProperty("消息描述")
    private String message;
    @ApiModelProperty("消息destination")
    private String destination;
    @ApiModelProperty("商户Id")
    private String mchId;
    @ApiModelProperty("渠道Id")
    private String channelId;
    @ApiModelProperty("渠道应用Id")
    private String channelAppId;
    @ApiModelProperty("支付订单/退款订单号/转账订单")
    private String mchOrderNo;
    @ApiModelProperty("商户的类型")
    private Integer type;
    @ApiModelProperty("支付的金额(分)")
    private Long totalAmount;
    @ApiModelProperty("交易编号")
    private String tradeNo;
    @ApiModelProperty("返回数据")
    private Map<String, String> params;
}
